﻿#ifndef DIALOG_485_SETTING_H
#define DIALOG_485_SETTING_H

#include <QDialog>
#include "qextserialenumerator.h"

namespace Ui {
	class Dialog485Setting;
}

class Dialog485Setting : public QDialog
{
	Q_OBJECT

public:
    explicit Dialog485Setting(int port , int board,  QWidget* parent = nullptr);
	~Dialog485Setting();

	void initWnd();//初始化界面以及其他处理

    //QextSerialEnumerator* enumerator;//串口设备名枚举

    int port_id;        //1--
    int board_id;       //1--

private slots:
	void on_button_ok_clicked();

	void on_button_cancel_clicked();

private:
	Ui::Dialog485Setting* ui;
};

#endif // DIALOG_485_SETTING_H
